package com.seelyn.rhea.mvc.common.utils;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

public final class GsonUtils {

    private static Gson gson = new GsonBuilder().create();
    
    private static Gson gsonNull = new GsonBuilder().serializeNulls().create();

    private GsonUtils() {

    }

    public static Gson getInstance() {
        return gson;
    }
    
    public static Gson getInstanceSeriNulls() {
        return gsonNull;
    }
    
}
